package com.jtech.together.mvp.contract;

import com.jtech.together.model.UserModel;
import com.jtech.together.mvp.base.BaseContract;

/**
 * 我的信息
 * Created by wuxubaiyang on 2017/5/10.
 */
public interface MyProfileContract {
    interface Presenter extends BaseContract.Presenter {
        UserModel getMyUserProfile();

        void updateAvatar(String avatarPath);

        void updateSex(int sex);

        void updateBirthday(long birthday);
    }

    interface View extends BaseContract.View {
        void updateAvatarSuccess(String avatarPath,String avatarUrl);

        void updateSexSuccess(int sex);

        void updateBirthdaySuccess(long birthday);

        void updateFail(String error);
    }
}